﻿<%@ Page Title="采购单次数" Language="C#" AutoEventWireup="true" CodeBehind="SortSourceRateCount.aspx.cs"
    Inherits="HZ.Supervise.Web.Secondphase.SortSourceRateCount" MasterPageFile="~/Master/MasterPage_New.master" %>

<%@ Register Src="../Common/AreaControls.ascx" TagName="AreaControls" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="tabnav">
        <ul>
            <li style='<%=HZ.Supervise.Web.Function.CheckMenuByUserID("县区排名")%>'><a href="../Secondphase/ReportArea/ProcureArea.aspx">
                县区排名</a></li>
            <li style='<%=HZ.Supervise.Web.Function.CheckMenuByUserID("城市排名")%>'><a href="ReportArea/RankOfCity.aspx">
                城市排名</a></li>
            <li style='<%=HZ.Supervise.Web.Function.CheckMenuByUserID("医院排名")%>'><a href="ProcureHospitalMax.aspx">
                医院排名</a></li>
            <li style='<%=HZ.Supervise.Web.Function.CheckMenuByUserID("配送排名")%>'><a href="ProcureCompanyPS.aspx">
                配送排名</a></li>
            <li style='<%=HZ.Supervise.Web.Function.CheckMenuByUserID("药品排名")%>'><a href="ProcureMax.aspx">
                药品排名</a></li>
            <li style='<%=HZ.Supervise.Web.Function.CheckMenuByUserID("医院采购类型所占比例")%>'><a href="SortSourceRate.aspx">
                县区采购类型所占比例</a></li>
            <li style='<%=HZ.Supervise.Web.Function.CheckMenuByUserID("县区采购类型所占比例")%>'><a href="SortSourceRateOfArea.aspx">
                县区采购类型所占比例</a></li>
            <li style='<%=HZ.Supervise.Web.Function.CheckMenuByUserID("城市采购类型所占比例")%>'><a href="SortSourceRateOfCity.aspx">
                城市采购类型所占比例</a></li>
            <li class="active"><a href="javascript:void(0);">采购单次数</a></li>
        </ul>
    </div>
    <div id="tabcontent2">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                医院名称：
                            </td>
                            <td align="left">
                                <asp:TextBox runat="server" ID="txtHospitalname" Height="13px"></asp:TextBox>
                            </td>
                            <td align="right">
                                时间从：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtTimeFrom" runat="server" Width="105px" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                            </td>
                            <td align="right">
                                到：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtTimeTo" runat="server" Width="105px" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                        <td align="right">
                                分组类型：
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlFenType" runat="server" Width="102px">
                                    <asp:ListItem Selected="True">按医院统计</asp:ListItem>
                                                <asp:ListItem>按县区统计</asp:ListItem>
                                                <asp:ListItem>按市统计</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td align="right">
                                地区：
                            </td>
                            <td align="left">
                                <uc2:AreaControls ID="areaID" runat="server" />
                            </td>
                        </tr>
                    </table>
                </td>
                <td>
                    <asp:Button ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn"
                        SkinID="search" ToolTip="点击查询符合条件的数据" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwProcureCatalog" runat="server" CssClass="mainlist" EmptyDataText="暂无符合条件的数据！"
        AutoGenerateColumns="False">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="areaname" HeaderText="地区名称" />
            <asp:BoundField DataField="Hospitalname" HeaderText="医院名称" ReadOnly="true" />
            <asp:BoundField DataField="CGCount" HeaderText="采购次数" ReadOnly="true" />
        </Columns>
    </asp:GridView>
    <div>
        <span style="float: left; width: 30%">
            <hz:HzButton ID="btnExcel" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" /></span><span
                style="float: right; width: 70%"><webdiyer:AspNetPager ID="AspNetPager1" runat="server"
                    OnPageChanged="AspNetPager1_PageChanged" AlwaysShow="True" ShowPageSizeBox="True">
                </webdiyer:AspNetPager>
            </span>
    </div>
</asp:Content>
